package com.blog.back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.entity.ClassificationEntity;
import com.blog.utils.PageUtils;
import com.blog.vo.ArticleClassificationVO;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author codedorado
 * @email codedorado@foxmail.com
 * @date 2020-08-15 15:26:05
 */
public interface ClassificationService extends IService<ClassificationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查找用户所有文章分类以及分类下的文章
     * @param usersId
     * @return
     */
    List<ArticleClassificationVO> findClassAndArticleByUsersId(Long usersId);

}

